<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../favicon.ico">

    <title>登陆</title>

    <!-- Bootstrap core CSS -->
    <link href="__PUBLIC__/assets/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="__PUBLIC__/assets/css/dashboard.css" rel="stylesheet">

    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]><script src="__PUBLIC__/assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
    <script src="__PUBLIC__/assets/js/ie-emulation-modes-warning.js"></script>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
<style>
	#content{
		width:40%;
		height:30%;
		margin-left:30%;
		margin-top:10%;
	}
 </style>
</head>
<body>
	<?php
		//session_start();
		//if(isset($_SESSION['adminid'])){
			//echo "<meta http-equiv='Refresh' //content='0;URL=control_user.php'>"; //跳转界面
		//}
	?>
	<!--登陆主体 -->
			 <div id="content">
				<h3><strong>后台管理系统</strong></h3>
			   <form  action="{:U('dologin')}" method="POST" role="form" >
				<table class="table">
					<tr>
						<th>用户名:</th><td><input type="text" name="adminname" 
						class="form-control" 
						placeholder="user"></td>
					</tr>
					<tr>
						<th>密码:</th><td><input type="password" name="password" 
						class="form-control"
						placeholder="password"></td>
					</tr>
				</table>
				<input type="submit" name="sub" class="btn-block btn-lg btn-primary"
				value="登陆">
			</form>
		    </div>
</body>
</html>